package com.qf.ssm.service;

import com.github.pagehelper.PageInfo;
import com.qf.ssm.pojo.User;

public interface UserService {

    void addUser(User user) throws Exception;

    PageInfo<User>findAllUserByPage(int page,int limit);

    void deleteUsersByIds(Long[]ids);

    int updateUser(User user);

    User findUserByName(String userName);
}
